package com.love.marriage.common.enums;

/**
 * description:  消费交易来源枚举类
 * author:       majf
 * createDate:   2024/10/17 10:27
 * version:      1.0.0
 */
public enum TransactionSource {

    MONEY("money", "现金"),
    BALANCE("balance", "余额");

    private final String code;

    private final String value;

    private TransactionSource(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
